Silicon Labs /Series1 /MGM12 /MGM12P22F1024GA /TIMER0 /CC2_CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CC2_CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (OFF)MODE 0 (OUTINV)OUTINV 0 (COIST)COIST 0 (NONE)CMOA 0 (NONE)COFOA 0 (NONE)CUFOA 0 (PRSCH0)PRSSEL0 (RISING)ICEDGE 0 (EVERYEDGE)ICEVCTRL 0 (PRSCONF)PRSCONF 0 (INSEL)INSEL 0 (FILT)FILT

MODE=OFF, ICEVCTRL=EVERYEDGE, ICEDGE=RISING, PRSSEL=PRSCH0, COFOA=NONE, CMOA=NONE, CUFOA=NONE

Description

CC Channel Control Register

Fields

MODE

CC Channel Mode

0 (OFF): Compare/Capture channel turned off

1 (INPUTCAPTURE): Input capture

2 (OUTPUTCOMPARE): Output compare

3 (PWM): Pulse-Width Modulation

OUTINV

Output Invert

COIST

Compare Output Initial State

CMOA

Compare Match Output Action

0 (NONE): No action on compare match

1 (TOGGLE): Toggle output on compare match

2 (CLEAR): Clear output on compare match

3 (SET): Set output on compare match

COFOA

Counter Overflow Output Action

0 (NONE): No action on counter overflow

1 (TOGGLE): Toggle output on counter overflow

2 (CLEAR): Clear output on counter overflow

3 (SET): Set output on counter overflow

CUFOA

Counter Underflow Output Action

0 (NONE): No action on counter underflow

1 (TOGGLE): Toggle output on counter underflow

2 (CLEAR): Clear output on counter underflow

3 (SET): Set output on counter underflow

PRSSEL

Compare/Capture Channel PRS Input Channel Selection

0 (PRSCH0): PRS Channel 0 selected as input

1 (PRSCH1): PRS Channel 1 selected as input

2 (PRSCH2): PRS Channel 2 selected as input

3 (PRSCH3): PRS Channel 3 selected as input

4 (PRSCH4): PRS Channel 4 selected as input

5 (PRSCH5): PRS Channel 5 selected as input

6 (PRSCH6): PRS Channel 6 selected as input

7 (PRSCH7): PRS Channel 7 selected as input

8 (PRSCH8): PRS Channel 8 selected as input

9 (PRSCH9): PRS Channel 9 selected as input

10 (PRSCH10): PRS Channel 10 selected as input

11 (PRSCH11): PRS Channel 11 selected as input

ICEDGE

Input Capture Edge Select

0 (RISING): Rising edges detected

1 (FALLING): Falling edges detected

2 (BOTH): Both edges detected

3 (NONE): No edge detection, signal is left as it is

ICEVCTRL

Input Capture Event Control

0 (EVERYEDGE): PRS output pulse and interrupt flag set on every capture

1 (EVERYSECONDEDGE): PRS output pulse and interrupt flag set on every second capture

2 (RISING): PRS output pulse and interrupt flag set on rising edge only (if ICEDGE = BOTH)

3 (FALLING): PRS output pulse and interrupt flag set on falling edge only (if ICEDGE = BOTH)

PRSCONF

PRS Configuration

INSEL

Input Selection

FILT

Digital Filter

Links

() ()